<script>
import Header from '@/components/Header.vue'
import Footer from '@/components/Footer.vue'

export default {
  name: 'App',
  components: {
    Header,
    Footer
  }
}
</script>

<template>
  <div id="app">
    <Header />
    <div class="main-content">
      <router-view />
    </div>
    <Footer />
  </div>
</template>

<style>
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: none;
}

.main-content {
  flex: 1;
  padding-top: 80px;
  padding-left: 100px;
  padding-right: 100px;
  width: 100%;
}

@media (max-width: 992px) {
  .main-content {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}
</style>
